home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global plant, plantcounter, effectspath
- if plantcounter < 0 then
- set the member of sprite 27 to member(87, 1)
- set the member of sprite 28 to member(87, 1)
- set the member of sprite 29 to member(87, 1)
- updateStage()
- if plant < 9 then
- x = random(5)
- if (x = 1) or (x = 2) or (x = 3) then
- sound playFile 2, effectspath & "atziz"
- plantcounter = 14
- sprite(26 + x).visible = 1
- set the member of sprite (26 + x) to member(83 + x, 1)
- y = random(6)
- if (x = 1) or (x = 2) or (x = 3) then
- sprite(26 + x).visible = 1
- set the member of sprite (26 + x) to member(83 + x, 1)
- end if
- plant = plant + 1
- end if
- else
- go("krupwin")
- end if
- end if
- end
-